Integrand size = 31, antiderivative size = 120 \[ \int \sqrt {x} (A+B x) \sqrt {a^2+2 a b x+b^2 x^2} \, dx=\frac {2 a A x^{3/2} \sqrt {a^2+2 a b x+b^2 x^2}}{3 (a+b x)}+\frac {2 (A b+a B) x^{5/2} \sqrt {a^2+2 a b x+b^2 x^2}}{5 (a+b x)}+\frac {2 b B x^{7/2} \sqrt {a^2+2 a b x+b^2 x^2}}{7 (a+b x)} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 120, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.065, Rules used = {784, 77} \[ \int \sqrt {x} (A+B x) \sqrt {a^2+2 a b x+b^2 x^2} \, dx=\frac {2 x^{5/2} \sqrt {a^2+2 a b x+b^2 x^2} (a B+A b)}{5 (a+b x)}+\frac {2 a A x^{3/2} \sqrt {a^2+2 a b x+b^2 x^2}}{3 (a+b x)}+\frac {2 b B x^{7/2} \sqrt {a^2+2 a b x+b^2 x^2}}{7 (a+b x)} \]
[In]
[Out]
Rule 77
Rule 784
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \sqrt {x} \left (a b+b^2 x\right ) (A+B x) \, dx}{a b+b^2 x} \\ & = \frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \left (a A b \sqrt {x}+b (A b+a B) x^{3/2}+b^2 B x^{5/2}\right ) \, dx}{a b+b^2 x} \\ & = \frac {2 a A x^{3/2} \sqrt {a^2+2 a b x+b^2 x^2}}{3 (a+b x)}+\frac {2 (A b+a B) x^{5/2} \sqrt {a^2+2 a b x+b^2 x^2}}{5 (a+b x)}+\frac {2 b B x^{7/2} \sqrt {a^2+2 a b x+b^2 x^2}}{7 (a+b x)} \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 51, normalized size of antiderivative = 0.42 \[ \int \sqrt {x} (A+B x) \sqrt {a^2+2 a b x+b^2 x^2} \, dx=\frac {2 x^{3/2} \sqrt {(a+b x)^2} (7 a (5 A+3 B x)+3 b x (7 A+5 B x))}{105 (a+b x)} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 2.
Time = 0.08 (sec) , antiderivative size = 34, normalized size of antiderivative = 0.28
method | result | size |
default | \(\frac {2 \,\operatorname {csgn}\left (b x +a \right ) x^{\frac {3}{2}} \left (15 B b \,x^{2}+21 A b x +21 a B x +35 a A \right )}{105}\) | \(34\) |
gosper | \(\frac {2 x^{\frac {3}{2}} \left (15 B b \,x^{2}+21 A b x +21 a B x +35 a A \right ) \sqrt {\left (b x +a \right )^{2}}}{105 \left (b x +a \right )}\) | \(44\) |
risch | \(\frac {2 x^{\frac {3}{2}} \left (15 B b \,x^{2}+21 A b x +21 a B x +35 a A \right ) \sqrt {\left (b x +a \right )^{2}}}{105 \left (b x +a \right )}\) | \(44\) |
[In]
[Out]
none
Time = 0.33 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.25 \[ \int \sqrt {x} (A+B x) \sqrt {a^2+2 a b x+b^2 x^2} \, dx=\frac {2}{105} \, {\left (15 \, B b x^{3} + 35 \, A a x + 21 \, {\left (B a + A b\right )} x^{2}\right )} \sqrt {x} \]
[In]
[Out]
\[ \int \sqrt {x} (A+B x) \sqrt {a^2+2 a b x+b^2 x^2} \, dx=\int \sqrt {x} \left (A + B x\right ) \sqrt {\left (a + b x\right )^{2}}\, dx \]
[In]
[Out]
none
Time = 0.21 (sec) , antiderivative size = 35, normalized size of antiderivative = 0.29 \[ \int \sqrt {x} (A+B x) \sqrt {a^2+2 a b x+b^2 x^2} \, dx=\frac {2}{35} \, {\left (5 \, b x^{2} + 7 \, a x\right )} B x^{\frac {3}{2}} + \frac {2}{15} \, {\left (3 \, b x^{2} + 5 \, a x\right )} A \sqrt {x} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 53, normalized size of antiderivative = 0.44 \[ \int \sqrt {x} (A+B x) \sqrt {a^2+2 a b x+b^2 x^2} \, dx=\frac {2}{7} \, B b x^{\frac {7}{2}} \mathrm {sgn}\left (b x + a\right ) + \frac {2}{5} \, B a x^{\frac {5}{2}} \mathrm {sgn}\left (b x + a\right ) + \frac {2}{5} \, A b x^{\frac {5}{2}} \mathrm {sgn}\left (b x + a\right ) + \frac {2}{3} \, A a x^{\frac {3}{2}} \mathrm {sgn}\left (b x + a\right ) \]
[In]
[Out]
Timed out. \[ \int \sqrt {x} (A+B x) \sqrt {a^2+2 a b x+b^2 x^2} \, dx=\int \sqrt {x}\,\sqrt {{\left (a+b\,x\right )}^2}\,\left (A+B\,x\right ) \,d x \]
[In]
[Out]